Array.prototype.reverse = function() {
	let p1 = 0;
	let p2 = this.length -1;

	while(p1 <= p2){
		[this[p1],this[p2]] = [this[p2],this[p1]]

		p1++;
		p2--;
	}
};